package com.yesep.learn.design.creational.factory;

import com.yesep.learn.design.common.pojo.*;

public class BeeFactory implements IAnimalFactoryMethod<Bee> {
    @Override
    public Bee createAnimal(String name) {
        return new Bee(name);
    }
}
